
public class VertexData {
	public Vertex prev;
	public boolean visited;
	
	public VertexData(Vertex y, boolean x){
		this.prev=y;
		this.visited=x;
	}
	
	public VertexData(boolean x){
		this.visited=x;
	}
	
	public VertexData(Vertex x){
		this.prev=x;
	}
}
